package coop.bancocredicoop.proyectos.gd.domain;

public class Box {

	private Long id;
	private Long version;
	private String cajaId;

	public Box() {
		
	}
	
	public Box(String cajaId) {
		this.cajaId = cajaId;
		this.version = 1L; ///XXX: Grails lo usa para updates concurrentes
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCajaId() {
		return cajaId;
	}
	public void setCajaId(String cajaId) {
		this.cajaId = cajaId;
	}
	public Long getVersion() {
		return version;
	}
	public void setVersion(Long version) {
		this.version = version;
	}

}
